package com.ls.pattern.bridge.sms;

public class SmsTest {

    public static void main(String[] args) {
        SmsType notificationSmsType = new NotificationSmsType(new AliSmsChannel());
        notificationSmsType.send("测试通知类型短信", "18512345678");

        System.out.println("=====================================");

        SmsType marketingSmsType = new MarketingSmsType(new AliSmsChannel());
        marketingSmsType.send("测试营销类型短信", "18512345678");

        System.out.println("=====================================");

        MarketingSmsType tencentMarketingSmsType = new MarketingSmsType(new TencentSmsChannel());
        tencentMarketingSmsType.send("测试营销类型短信","18512345678");
    }

}
